package com.ubao.network;

import java.io.File;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;

public interface RequestInterface {

    public static final byte TYPE_COMMON = 0;

    public static final byte TYPE_INFO = 1;

    public static final byte TYPE_TRADE = 2;

    public static final byte TYPE_SPECIAL = 3;

    public byte[] getContent();

    public String getUrl();

    public int getContentLength();

    public Hashtable getRequestProperty();

    public List<RequestInterface> getSubRequests();
    
    public byte getType();
    
    public Map<String, File> getFiles();
    
    public String getBoundary();
}
